import { useRoutes } from 'react-router-dom';
// import { BrowserRouter } from 'react-router-dom';
// import { MemoryRouter } from 'react-router';
import { ThemeProvider } from '@material-ui/core';
import routes from './routes';

const App = () => {
    const routing = useRoutes(routes);

    return (
        <ThemeProvider >
            
                {routing}
        </ThemeProvider>
    );
};

export default App;